using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

namespace BuildWheel
{
    public class texture_Inspector : BaseInspector
    {
        public Image img;
        public Text txt_ab;
        public Text txt_name;
        public Button btnCopyName;
        public Button btnCopyAb;

        private void Awake()
        {
            btnCopyName.onClick.AddListener(OnCopyName);
            btnCopyAb.onClick.AddListener(OnCopyAb);
        }

        private void OnCopyAb()
        {
            
        }

        private void OnCopyName()
        {
            
        }

        public override void Ref(File _fileInfo)
        {
            base.Ref(_fileInfo);
            txt_ab.text = $"ab:{_fileInfo.k}";
            txt_name.text = $"name:{_fileInfo.n}";
            img.sprite = null;
        }
    }
}